package net.lab1024.sa.admin.module.business.erp.poo.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;
import lombok.Data;
import net.lab1024.sa.admin.module.business.erp.poo.domain.entity.StoordaEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 采购入库单 更新表单
 *
 * @Author AKITA
 * @Date 2025-07-25 09:40:52
 * @Copyright AKITA
 */

@Data
public class StoordUpdateForm {

    @Schema(description = "电键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "电键 不能为空")
    private Long id;

    @Schema(description = "对象名")
    private String objName;

    @Schema(description = "单据状态")
    private String docStatus;

    @Schema(description = "月期间")
    private String absId;

    @Schema(description = "审核")
    private String approved;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "版本号")
    private Integer version;

    @Schema(description = "附件名称")
    private String attachment;

    @Schema(description = "部门编码")
    private Long deptId;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "供应商编码")
    private String vendId;

    @Schema(description = "供应商名称")
    private String vendName;

    private List<StoordaEntity> lista =  new ArrayList<>();
}